//
//  CustomSegmentView.h
//  LiMinProject
//
//  Created by FM123 on 2017/6/8.
//  Copyright © 2017年 LiMin. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol CustomSegmentViewDelegate <NSObject>

@required


-(void)clickBuyButtonToSend:(NSNumber *)stadus;


@end
@interface CustomSegmentView : UIView<UIScrollViewDelegate>
@property (nonatomic,strong)NSArray * nameArray;
@property (nonatomic,strong)NSArray *controllers;
@property (nonatomic,strong)UIView * segmentView;
@property (nonatomic,strong)UIScrollView * segmentScrollV;
@property (nonatomic,strong)UILabel * line;
@property (nonatomic ,strong)UIButton * seleBtn;
@property (nonatomic,strong)UILabel * down;
@property (nonatomic ,weak)id <CustomSegmentViewDelegate> delegate;

- (instancetype)initWithFrame:(CGRect)frame controllers:(NSArray *)controllers titleArray:(NSArray *)titleArray ParentController:(UIViewController *)parentC  lineWidth:(float)lineW lineHeight:(float)lineH andSelect:(int)index;

@end
